package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.OrgGroupSidManageCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.OrgGroupSidManageResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.OrgGroupSidManageUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.OrgGroupSidManageEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrgGroupSidManageConvert {

    OrgGroupSidManageConvert INSTANCE = Mappers.getMapper(OrgGroupSidManageConvert.class);

    OrgGroupSidManageResultDTO convert(OrgGroupSidManageEntity s);

    OrgGroupSidManageEntity create(OrgGroupSidManageCreateDTO s, Long tenantId);

    OrgGroupSidManageEntity update(OrgGroupSidManageUpdateDTO s);
}
